package web.pojo;

public class Teacher {
    private Long no;
    private String name;
    private Long department_id;
    private String major;
    private String title;
    private User user;

    public User getUser() {
        return user;
    }

    public Long getDepartment_id() {
        return department_id;
    }

    public Long getNo() {
        return no;
    }

    public String getMajor() {
        return major;
    }

    public String getName() {
        return name;
    }

    public String getTitle() {
        return title;
    }

    public void setDepartment_id(Long department_id) {
        this.department_id = department_id;
    }

    public void setNo(Long id) {
        this.no = id;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
